package com.guigu.thirdpartyservices.propertes;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Gitee配置类
 */
@Data
@Configuration
@NoArgsConstructor
@AllArgsConstructor
@ConfigurationProperties(prefix = "gitee")
public class GiteeProperty {
    private String clientId;
    private String clientSecret;
    private Uri uri;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Uri {
        private String loginRedirectUri;
    }
}
